<?php 
class usersObj 
{
	var $id;
	var $username;
	var $password;
	var $userroleID;
	var $deleteFlag;
	var $datetimeLogin;
	var $firstname;
	var $lastname;
	var $email;
	var $phone;
	var $image;
	var $city;
	var $country;
	var $otherFields;

	public function TableName() { return "users";}
	public function idFieldName() { return "id";}
	public function usernameFieldName() { return "username";}
	public function passwordFieldName() { return "password";}
	public function userroleIDFieldName() { return "userroleID";}
	public function deleteFlagFieldName() { return "deleteFlag";}
	public function datetimeLoginFieldName() { return "datetimeLogin";}
	public function firstnameFieldName() { return "firstname";}
	public function lastnameFieldName() { return "lastname";}
	public function emailFieldName() { return "email";}
	public function phoneFieldName() { return "phone";}
	public function imageFieldName() { return "image";}
	public function cityFieldName() { return "city";}
	public function countryFieldName() { return "country";}

	function usersObj ($pid="",$pusername="",$ppassword="",$puserroleID="",$pdeleteFlag="",$pdatetimeLogin="",$pfirstname="",$plastname="",$pemail="",$pphone="",$pimage="",$pcity="",$pcountry="") {

		$this->id = $pid;
		$this->username = $pusername;
		$this->password = $ppassword;
		$this->userroleID = $puserroleID;
		$this->deleteFlag = $pdeleteFlag;
		$this->datetimeLogin = $pdatetimeLogin;
		$this->firstname = $pfirstname;
		$this->lastname = $plastname;
		$this->email = $pemail;
		$this->phone = $pphone;
		$this->image = $pimage;
		$this->city = $pcity;
		$this->country = $pcountry;
	}

} 
?>